View TCP statistics to manage network performance.
show ip tcp statistics
None
User EXEC
The show ip tcp statistics command displays the following information:
Field |
Description |
---|---|
ActiveOpens |
The count of transitions by TCP connections to the SYN-SENT state from the CLOSED state. |
PassiveOpens |
The count of transitions by TCP connections to the SYN-RCVD state from the LISTEN state. |
AttemptFails |
The count of transitions by TCP connections to the CLOSED state from either the SYN-SENT state or the SYN-RCVD state, plus the count of transitions to the LISTEN state from the SYN-RCVD state. |
EstabResets |
The count of transitions by TCP connections to the CLOSED state from the ESTABLISHED or CLOSE-WAIT state. |
CurrEstab |
The count of TCP connections for which the current state is either ESTABLISHED or CLOSE-WAIT. |
InSegs |
The total count of segments received, including those received in error. This count includes segments received on currently established connections. |
OutSegs |
The total number of segments sent, including those on current connections but excluding those containing only retransmitted octets. |
RetransSegs |
The total count of TCP segments transmitted containing one or more previously transmitted octets. |
InErrs |
The count of segments received in error. |
OutRsts |
The count of TCP segments sent containing the RST flag. |
Switch:1>show ip tcp statistics show ip tcp global statistics: ------------------ ActiveOpens: 0 PassiveOpens: 37 AttemptFails: 0 EstabResets: 34 CurrEstab: 1 InSegs: 6726 OutSegs: 7267 RetransSegs: 10 InErrs: 0 OutRsts: 10